// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s

// CHECK: clts 
// CHECK: encoding: [0x0f,0x06]          
clts 

// CHECK: larl 3809469200(%edx,%eax,4), %eax 
// CHECK: encoding: [0x0f,0x02,0x84,0x82,0x10,0xe3,0x0f,0xe3]        
larl 3809469200(%edx,%eax,4), %eax 

// CHECK: larl 485498096, %eax 
// CHECK: encoding: [0x0f,0x02,0x05,0xf0,0x1c,0xf0,0x1c]        
larl 485498096, %eax 

// CHECK: larl 485498096(%edx,%eax,4), %eax 
// CHECK: encoding: [0x0f,0x02,0x84,0x82,0xf0,0x1c,0xf0,0x1c]        
larl 485498096(%edx,%eax,4), %eax 

// CHECK: larl 485498096(%edx), %eax 
// CHECK: encoding: [0x0f,0x02,0x82,0xf0,0x1c,0xf0,0x1c]        
larl 485498096(%edx), %eax 

// CHECK: larl 64(%edx,%eax), %eax 
// CHECK: encoding: [0x0f,0x02,0x44,0x02,0x40]        
larl 64(%edx,%eax), %eax 

// CHECK: larl %ax, %eax 
// CHECK: encoding: [0x0f,0x02,0xc0]        
larl %eax, %eax 

// CHECK: larl (%edx), %eax 
// CHECK: encoding: [0x0f,0x02,0x02]        
larl (%edx), %eax 

// CHECK: lldtw -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x94,0x82,0x10,0xe3,0x0f,0xe3]         
lldtw -485498096(%edx,%eax,4) 

// CHECK: lldtw 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x94,0x82,0xf0,0x1c,0xf0,0x1c]         
lldtw 485498096(%edx,%eax,4) 

// CHECK: lldtw 485498096(%edx) 
// CHECK: encoding: [0x0f,0x00,0x92,0xf0,0x1c,0xf0,0x1c]         
lldtw 485498096(%edx) 

// CHECK: lldtw 485498096 
// CHECK: encoding: [0x0f,0x00,0x15,0xf0,0x1c,0xf0,0x1c]         
lldtw 485498096 

// CHECK: lldtw 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x00,0x54,0x02,0x40]         
lldtw 64(%edx,%eax) 

// CHECK: lldtw (%edx) 
// CHECK: encoding: [0x0f,0x00,0x12]         
lldtw (%edx) 

// CHECK: lmsww -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x01,0xb4,0x82,0x10,0xe3,0x0f,0xe3]         
lmsww -485498096(%edx,%eax,4) 

// CHECK: lmsww 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x01,0xb4,0x82,0xf0,0x1c,0xf0,0x1c]         
lmsww 485498096(%edx,%eax,4) 

// CHECK: lmsww 485498096(%edx) 
// CHECK: encoding: [0x0f,0x01,0xb2,0xf0,0x1c,0xf0,0x1c]         
lmsww 485498096(%edx) 

// CHECK: lmsww 485498096 
// CHECK: encoding: [0x0f,0x01,0x35,0xf0,0x1c,0xf0,0x1c]         
lmsww 485498096 

// CHECK: lmsww 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x01,0x74,0x02,0x40]         
lmsww 64(%edx,%eax) 

// CHECK: lmsww (%edx) 
// CHECK: encoding: [0x0f,0x01,0x32]         
lmsww (%edx) 

// CHECK: lsll 3809469200(%edx,%eax,4), %eax 
// CHECK: encoding: [0x0f,0x03,0x84,0x82,0x10,0xe3,0x0f,0xe3]        
lsll 3809469200(%edx,%eax,4), %eax 

// CHECK: lsll 485498096, %eax 
// CHECK: encoding: [0x0f,0x03,0x05,0xf0,0x1c,0xf0,0x1c]        
lsll 485498096, %eax 

// CHECK: lsll 485498096(%edx,%eax,4), %eax 
// CHECK: encoding: [0x0f,0x03,0x84,0x82,0xf0,0x1c,0xf0,0x1c]        
lsll 485498096(%edx,%eax,4), %eax 

// CHECK: lsll 485498096(%edx), %eax 
// CHECK: encoding: [0x0f,0x03,0x82,0xf0,0x1c,0xf0,0x1c]        
lsll 485498096(%edx), %eax 

// CHECK: lsll 64(%edx,%eax), %eax 
// CHECK: encoding: [0x0f,0x03,0x44,0x02,0x40]        
lsll 64(%edx,%eax), %eax 

// CHECK: lsll %ax, %eax 
// CHECK: encoding: [0x0f,0x03,0xc0]        
lsll %eax, %eax 

// CHECK: lsll (%edx), %eax 
// CHECK: encoding: [0x0f,0x03,0x02]        
lsll (%edx), %eax 

// CHECK: ltrw -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x9c,0x82,0x10,0xe3,0x0f,0xe3]         
ltrw -485498096(%edx,%eax,4) 

// CHECK: ltrw 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]         
ltrw 485498096(%edx,%eax,4) 

// CHECK: ltrw 485498096(%edx) 
// CHECK: encoding: [0x0f,0x00,0x9a,0xf0,0x1c,0xf0,0x1c]         
ltrw 485498096(%edx) 

// CHECK: ltrw 485498096 
// CHECK: encoding: [0x0f,0x00,0x1d,0xf0,0x1c,0xf0,0x1c]         
ltrw 485498096 

// CHECK: ltrw 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x00,0x5c,0x02,0x40]         
ltrw 64(%edx,%eax) 

// CHECK: ltrw (%edx) 
// CHECK: encoding: [0x0f,0x00,0x1a]         
ltrw (%edx) 

// CHECK: sldtw %ax 
// CHECK: encoding: [0x66,0x0f,0x00,0xc0]         
sldtw %ax 

// CHECK: sldtl %eax 
// CHECK: encoding: [0x0f,0x00,0xc0]         
sldtl %eax 

// CHECK: sldtw -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x84,0x82,0x10,0xe3,0x0f,0xe3]         
sldtw -485498096(%edx,%eax,4) 

// CHECK: sldtw 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x84,0x82,0xf0,0x1c,0xf0,0x1c]         
sldtw 485498096(%edx,%eax,4) 

// CHECK: sldtw 485498096(%edx) 
// CHECK: encoding: [0x0f,0x00,0x82,0xf0,0x1c,0xf0,0x1c]         
sldtw 485498096(%edx) 

// CHECK: sldtw 485498096 
// CHECK: encoding: [0x0f,0x00,0x05,0xf0,0x1c,0xf0,0x1c]         
sldtw 485498096 

// CHECK: sldtw 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x00,0x44,0x02,0x40]         
sldtw 64(%edx,%eax) 

// CHECK: sldtw (%edx) 
// CHECK: encoding: [0x0f,0x00,0x02]         
sldtw (%edx) 

// CHECK: smswl %eax 
// CHECK: encoding: [0x0f,0x01,0xe0]         
smswl %eax 

// CHECK: smsww -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x01,0xa4,0x82,0x10,0xe3,0x0f,0xe3]         
smsww -485498096(%edx,%eax,4) 

// CHECK: smsww 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x01,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]         
smsww 485498096(%edx,%eax,4) 

// CHECK: smsww 485498096(%edx) 
// CHECK: encoding: [0x0f,0x01,0xa2,0xf0,0x1c,0xf0,0x1c]         
smsww 485498096(%edx) 

// CHECK: smsww 485498096 
// CHECK: encoding: [0x0f,0x01,0x25,0xf0,0x1c,0xf0,0x1c]         
smsww 485498096 

// CHECK: smsww 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x01,0x64,0x02,0x40]         
smsww 64(%edx,%eax) 

// CHECK: smsww (%edx) 
// CHECK: encoding: [0x0f,0x01,0x22]         
smsww (%edx) 

// CHECK: strl %eax 
// CHECK: encoding: [0x0f,0x00,0xc8]         
strl %eax 

// CHECK: strw -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x8c,0x82,0x10,0xe3,0x0f,0xe3]         
strw -485498096(%edx,%eax,4) 

// CHECK: strw 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]         
strw 485498096(%edx,%eax,4) 

// CHECK: strw 485498096(%edx) 
// CHECK: encoding: [0x0f,0x00,0x8a,0xf0,0x1c,0xf0,0x1c]         
strw 485498096(%edx) 

// CHECK: strw 485498096 
// CHECK: encoding: [0x0f,0x00,0x0d,0xf0,0x1c,0xf0,0x1c]         
strw 485498096 

// CHECK: strw 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x00,0x4c,0x02,0x40]         
strw 64(%edx,%eax) 

// CHECK: strw (%edx) 
// CHECK: encoding: [0x0f,0x00,0x0a]         
strw (%edx) 

// CHECK: verr -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0xa4,0x82,0x10,0xe3,0x0f,0xe3]         
verr -485498096(%edx,%eax,4) 

// CHECK: verr 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]         
verr 485498096(%edx,%eax,4) 

// CHECK: verr 485498096(%edx) 
// CHECK: encoding: [0x0f,0x00,0xa2,0xf0,0x1c,0xf0,0x1c]         
verr 485498096(%edx) 

// CHECK: verr 485498096 
// CHECK: encoding: [0x0f,0x00,0x25,0xf0,0x1c,0xf0,0x1c]         
verr 485498096 

// CHECK: verr 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x00,0x64,0x02,0x40]         
verr 64(%edx,%eax) 

// CHECK: verr (%edx) 
// CHECK: encoding: [0x0f,0x00,0x22]         
verr (%edx) 

// CHECK: verw -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0xac,0x82,0x10,0xe3,0x0f,0xe3]         
verw -485498096(%edx,%eax,4) 

// CHECK: verw 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0x00,0xac,0x82,0xf0,0x1c,0xf0,0x1c]         
verw 485498096(%edx,%eax,4) 

// CHECK: verw 485498096(%edx) 
// CHECK: encoding: [0x0f,0x00,0xaa,0xf0,0x1c,0xf0,0x1c]         
verw 485498096(%edx) 

// CHECK: verw 485498096 
// CHECK: encoding: [0x0f,0x00,0x2d,0xf0,0x1c,0xf0,0x1c]         
verw 485498096 

// CHECK: verw 64(%edx,%eax) 
// CHECK: encoding: [0x0f,0x00,0x6c,0x02,0x40]         
verw 64(%edx,%eax) 

// CHECK: verw (%edx) 
// CHECK: encoding: [0x0f,0x00,0x2a]         
verw (%edx) 

